package gentle.service;

import com.baomidou.mybatisplus.plugins.Page;
import gentle.entity.PayServicedInfo;
import gentle.entity.RechargeInfo;
import gentle.entity.SearchRechargeInfo;

import java.util.List;

/**
 * 结账退款
 * @author py
 * @Date 2018年4月19日23:15:54
 */
public interface IRechargeService {
    //结账退款列表
    List<RechargeInfo> selectPageListRechargeInfo(Page<RechargeInfo> page, SearchRechargeInfo info);

    int getQueryPagesCount(Page<RechargeInfo> page, SearchRechargeInfo info);

    List<RechargeInfo> rechargeTotal(String startArrivalTimeTwo, String endArrivalTimeTwo,
                                     String dealStatus, String oldOneChannelValue, String reach,
                                     String oldTwoChannelValue, String oldThrChannelValue, String abbreviation);

    String checkOut(String reservationsIdx, String customerId, String reservationsId, String[] str, String payorrefund, String orthodontics, double totleServiceActualPay1,
                    String operationTime, String getTime, String abbreviation,String outpatientName,String areaAbbreviation,String userAccount,String sttleAccountsTime,String proportional);

    List<PayServicedInfo> getOpenBillListjz(String operationTime, String getTime, String reservationsId, String abbreviation, String areaAbbreviation);

   int getdcsByCustomerId(String id,String abbreviation);

    int getOpenBillData(String id, String abbreviation);

    int deletes(String id, String abbreviation,String userAccount);

    int updateGetTimes(String reservationsId, String getTime, String updateTime, String abbreviation);

    int updateRechargeRemarksOk(String reservationsId, String rechargeTime, String remarks, String abbreviation);

    int updateTcName(String customerId, String updateTcName,String abbreviation);

    int updateDocumentNumber(String getTime, String oldDocumentNumber, String documentNumber, String customerId,String abbreviation,String userAccount);

}
